//index.js
//获取应用实例
var app = getApp()
Page({
  data: {
    imgUrls: [
      {
        link: 'https://www.baidu.com/',
        url: '../../img/images/swiper/d1.png'
      }, {
        link: 'https://www.baidu.com/',
        url: '../../img/images/swiper/d1.png'
      }, {
        link: 'https://www.baidu.com/',
        url: '../../img/images/swiper/d1.png'
      }
    ],

    indicatorDots: true,
    autoplay: true,
    interval: 3000,
    duration:500,
    userInfo: {}
  },
  onLoad: function () {
    wx.setNavigationBarColor({
      frontColor: '#ffffff',
      backgroundColor: '#febf00',
      animation: {
        duration: 400,
        timingFunc: 'easeIn'
      },

    })
  },
  gotoenter:function(){
    console.log(1)
    wx.navigateTo({
      url: 'indexenter/indexenter',
    })
  },
  gototelecom:function(){
    wx.navigateTo({
      url: 'indextelecom/indextelecom',
    })
  },
  Super: function () {
    wx.navigateTo({
      url: 'indexsuper/indexsuper',
    })
  }
})  